<template>
    <div>
        <input type="text" v-model="text" >
        <span v-show="active">niubiniubi</span>
        <span>{{propOne}}</span>
        <span>{{proptwo}}</span>
        <button @click="add()">niulebi</button>
    </div>
</template>

<script>
export default {
    props:{
        active:Boolean,
        propOne:String,
        proptwo:Number,
        
    },
    data() {
        return {
            text:'adsda'
        }
    },methods:{
        add(params) {
            return this.$emit('change')
        }
    }

}
</script>

<style>

</style>

